package com.hdax.dm.mapstructs;

import com.hdax.dm.dto.SeatInfoDto;
import com.hdax.dm.dto.SeatPriceDto;
import com.hdax.dm.scheduler.DmSchedulerSeat;
import com.hdax.dm.scheduler.DmSchedulerSeatPrice;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

import java.util.List;

@Mapper(componentModel = "spring")
public interface SeatMapper {
    @Mapping(target = "areaLevel", ignore = true)
    public List<SeatInfoDto> seatInfo(List<DmSchedulerSeat> seats);


    public List<SeatPriceDto> seatPrice(List<DmSchedulerSeatPrice> seats);


}
